package j02neicun;

class Cat{
    //属性，堆
    int age = 8;
}

public class J1 {
    public static void main(String[] args) {
        //局部变量，栈
        int a = 6;
        //栈，内容在堆中
        Cat cat = new Cat();
        //方法区 - 静态区
        final int boold=7;
    }
}

